package com.wiscamp.ninechapters.problems.domain.models.sets;

import cube.ddd.domain.Entity;
import lombok.Data;

import java.io.Serial;

/**
 * 习题集题关联
 */
@Data
public class SetProblem implements Entity {
    @Serial
    private static final long serialVersionUID = 8269939949251205143L;

    /**
     * 自动编号
     */
    private long id = 0;

    /**
     * 题集编号
     */
    private long setId = 0;

    private long problemId = 0;

    /**
     * 题分数
     */
    private double problemScore = 0;

    /**
     * 题序号
     */
    private int problemIndex = 0;
}